package com.peas.platform.module.icims.budget.apply.enums;

import com.peas.platform.common.core.enums.BaseEnum;
import com.peas.platform.common.core.enums.CommonElType;

public enum BudgetCollectType implements BaseEnum {

    sync("0", "项目同步(预算域)", CommonElType.primary),
    collect("1", "按预算编制汇总", CommonElType.info),
    by_one("2", "按一级项目汇总", CommonElType.info),
    by_org("3", "按部门汇总", CommonElType.info),
    by_apply("4", "按申报单位汇总", CommonElType.info),
    by_use("5", "按用款单位汇总", CommonElType.info),
    ;

    private final String key;
    private final String value;
    private final CommonElType elTagType;

    BudgetCollectType(String key, String value, CommonElType elTagType) {
        this.key = key;
        this.value = value;
        this.elTagType = elTagType;
    }

    @Override
    public String getKey() {
        return this.key;
    }

    @Override
    public String getValue() {
        return this.value;
    }

    @Override
    public CommonElType getElTagType() {
        return elTagType;
    }

}
